home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Utilities
/
Converters
/
Convert_PICT
/
Testing
/
hex_tests
/
text=fontName.hex
< prev
next >
Wrap
Text File
|
1995-06-12
|
2KB
|
28 lines
%
% This tests the new fontName opcode (2C). We do this by printing the same text in two
% type faces using this opcode to set the typeface.
%
% header
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
% end of app-specific header
00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
0011 02FF % verson
0001 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
0030 0000 0000 00FF 00FF % draw bounding rect
0003 0022 % New century schoolbook
000D 0018 % set the size
%
% Draw Some plain reference text
%
002A 18 (This is some text!)
%
% Set the font to Helvetica
%
002C 000D 0015 (Helvetica)
002A 20 (This text is in Helvetica!)
%
% Change the face again to Times. This will require renaming when converted to NS
%
002C 000A 0015 (Times)
002A 20 (This text is in Times!)
00FF % end